using System;

namespace Sedna.Core.Controller.Configurations
{
	public class ImageCommandConfiguration : CommandConfiguration, IImageCommandConfiguration
	{

		private string imageUrl;
		private string disabledImageUrl;

		private string imageUrlBindPath;
		private string imageUrlUnbindPath;
		private string alternateTextBindPath;
		private string alternateTextUnbindPath;
		private string relativePathBindPath;
		private string relativePathUnbindPath;


        #region IClientScriptingConfiguration
        private bool clientScriptingEnabled;
        private string clientVariable;
        private string javascriptClass;


        public string JavascriptClass
        {
            get { return javascriptClass; }
            set { javascriptClass = value; }
        }

        public bool ClientScriptingEnabled
        {
            get { return clientScriptingEnabled; }
            set { clientScriptingEnabled = value; }
        }

        public string ClientVariable
        {
            get { return clientVariable; }
            set { clientVariable = value; }
        }
        #endregion 

        public string ImageUrl
		{
			get { return imageUrl; }
			set { imageUrl = value; }
		}

		public string DisabledImageUrl
		{
			get { return disabledImageUrl; }
			set { disabledImageUrl = value; }
		}

		public string ImageUrlBindPath
		{
			get { return imageUrlBindPath; }
			set { imageUrlBindPath = value; }
		}

		public string ImageUrlUnbindPath
		{
			get { return imageUrlUnbindPath; }
			set { imageUrlUnbindPath = value; }
		}

		public string ImageUrlPath
		{
			set
			{
				imageUrlBindPath=value;
				imageUrlUnbindPath=value;
			}
		}

		public string AlternateTextBindPath
		{
			get { return alternateTextBindPath; }
			set { alternateTextBindPath = value; }
		}

		public string AlternateTextUnbindPath
		{
			get { return alternateTextUnbindPath; }
			set { alternateTextUnbindPath = value; }
		}

		public string AlternateTextPath
		{
			set
			{
				alternateTextBindPath=value;
				alternateTextUnbindPath=value;
			}

		}

		public string RelativePathBindPath
		{
			get { return relativePathBindPath; }
			set { relativePathBindPath = value; }
		}

		public string RelativePathUnbindPath
		{
			get { return relativePathUnbindPath; }
			set { relativePathUnbindPath = value; }
		}

		public string RelativePathPath
		{
			set
			{
				relativePathUnbindPath = value;
				relativePathBindPath = value;
			}
		}

	}
}
